package com.situ.day10;

public class MyRunnable1 implements Runnable	{
	@Override
	public void run() {
		for (int i = 0; i <= 100; i++) {
			if (i % 2 ==0) {
				try {
					Thread.sleep(10);
				} catch (InterruptedException e) {
					e.printStackTrace();
				}
				System.out.println(Thread.currentThread().getName()+"==>"+i+"是偶数");
			}
		}
	}
}
